package design.pattern.factory.factory.impl;

import design.pattern.factory.factory.IceCream;
import design.pattern.factory.factory.IceCreamFactory;

/**
 * @program: design-pattern
 * @description: 香蕉工厂
 * @author: dong.chang
 * @create: 2021-04-22 11:49
 **/
public class BananaIceCreamFactory implements IceCreamFactory {
    @Override
    public IceCream createIceCream() {
        return new BananaIceCream();
    }
}
